from applications.extensions import ma
from marshmallow import fields


# 用户models的序列化类
class Credible_FireOutSchema(ma.Schema):
    id = fields.Integer()
    Name = fields.Str()
    Occur = fields.Str()
    Method = fields.Str()
    Score = fields.Str()
    create_at = fields.DateTime()

class Credible_EarthquakeOutSchema(ma.Schema):
    id = fields.Integer()
    Name = fields.Str()
    Occur = fields.Str()
    Method = fields.Str()
    Score = fields.Str()
    create_at = fields.DateTime()

class Credible_RunOutSchema(ma.Schema):
    id = fields.Integer()
    Name = fields.Str()
    Occur = fields.Str()
    Method = fields.Str()
    Score = fields.Str()
    create_at = fields.DateTime()

class Credible_FightOutSchema(ma.Schema):
    id = fields.Integer()
    Name = fields.Str()
    Occur = fields.Str()
    Method = fields.Str()
    Score = fields.Str()
    create_at = fields.DateTime()




